package net.mlike.openssp.server.service.impl.system;

import net.mlike.openssp.server.entity.system.Role;
import net.mlike.openssp.server.repository.BaseRepository;
import net.mlike.openssp.server.repository.system.RoleRepository;
import net.mlike.openssp.server.service.impl.BaseServiceImpl;
import net.mlike.openssp.server.service.system.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Service;

/**
 * Created by wallellen@hotmail.com on 5/26/18.
 */
@Service
public class RoleServiceImpl extends BaseServiceImpl<Role> implements RoleService {
    @Autowired
    private RoleRepository roleRepository;

    @Override
    public BaseRepository getRepository() {
        return roleRepository;
    }
}
